package com.club.football.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;


/**
 * 赛事
 *
 * @author 1
 * @date 2023/12/25
 */
@Data
public class Events extends BaseEntity implements Serializable {
    /**
     * 赛事ID
     */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long eventsId;
    /**
     * 赛事名称
     */
    private String name;
    /**
     * 开始日期
     */
    private String startDate;

    /**
     * 结束日期
     */
    private String endDate;

    /**
     * 赛事位置
     */
    private String location;

}
